package com.order.center.controller;

import com.pay.center.common.req.PayCallBackData;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/orderCenter")
public class PayCenterNotifyController {


    @RequestMapping(value = "/callBack",method = RequestMethod.POST)
    public String callBack(@RequestBody PayCallBackData payCallBackData){

        System.out.println("=================payCallBackData=====" + payCallBackData);


        //处理订单的逻辑，更新订单


        return null;
    }
}
